package ecommerce.dao;

import java.util.ArrayList;
import java.util.List;

import ecommerce.model.UserTag;

public interface UserTagDAO {
	public List<UserTag> getUsersTags();
	public UserTag getUserTag(int user_id, int tag_id);
	public UserTag getUserTagbyUser(int user_id);
	public List<UserTag> getUserTagbyUserPassword(String user_name, String password);
	public List<UserTag> getTopTenUserTag(int user_id);
	public UserTag getUserTagbyTag(int tag_id);
	public boolean insertUserTag(int user_id, int tag_id);
	public boolean updateUserTagFrequency(int user_id, int tag_id);
	public ArrayList<ArrayList<Integer>> getUserTagSumFrequency(int start);
	public int getTotalTags();
}
